home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-06-06 | 719 b | 32 lines |
- # make all creates all executables for the programs in this directory
- # make clean removes all temporary files.
-
- DESTDIR=/usr/skunk/bin
- TARGET=x11
- CFLAGS = -O
- INCS = -I/usr/openwin/include
- XVIEWLIBS = -lxview -lolgx
-
- all: $(TARGET)
-
- x11: xquinto_x11.o
- cc ${CFLAGS} -o xquinto xquinto_x11.o -lX11 -lsocket -lXext
-
- xview: xquinto_xview.o
- cc ${CFLAGS} -o xquinto xquinto_xview.o -lX11 ${XVIEWLIBS}
-
- xquinto_xview.o: xquinto_xview.c
- cc -c ${INCS} ${CFLAGS} xquinto_xview.c
-
- xquinto_x11: xquinto_x11.c
- cc -c ${INCS} ${CFLAGS} xquinto_x11.c
-
- tar:
- tar cvf xquinto.tar Makefile xquinto.1 xquinto_x11.c\
- xquinto_xview.c copyright.h gray.xbm white.xbm
- clean:
- rm -f *.o
-
- install: $(TARGET)
- cp xquinto $(DESTDIR)/xquinto
-